/**
 * Copyright (c) 华南农业大学信息学院蔡超敏2015版权所有
 * 
 * 文件创建时间：2015年4月11日
 */
package org.scauinfo.fpos.model;

/**
 * @author 蔡超敏
 * 
 */
public class UserModel {

	private Integer id;
	private String userId;
	private String username;
	private String account;
	private String password;
	private String gender;
	private String telephone;

	private String roleId;
	private String roleName;
	private String rolePermissions;

	/**
	 * @param id
	 * @param userId
	 * @param username
	 * @param account
	 * @param password
	 */
	public UserModel(Integer id, String userId, String username,
			String account, String password) {
		super();
		this.id = id;
		this.userId = userId;
		this.username = username;
		this.account = account;
		this.password = password;
	}

	/**
	 * @param id
	 * @param userId
	 * @param username
	 * @param account
	 * @param password
	 * @param gender
	 * @param telephone
	 */
	public UserModel(Integer id, String userId, String username,
			String account, String password, String gender, String telephone) {
		super();
		this.id = id;
		this.userId = userId;
		this.username = username;
		this.account = account;
		this.password = password;
		this.gender = gender;
		this.telephone = telephone;
	}

	/**
	 * @param id
	 * @param userId
	 * @param username
	 * @param account
	 * @param password
	 * @param gender
	 * @param telephone
	 * @param roleId
	 * @param roleName
	 * @param rolePermissions
	 */
	public UserModel(Integer id, String userId, String username,
			String account, String password, String gender, String telephone,
			String roleId, String roleName, String rolePermissions) {
		super();
		this.id = id;
		this.userId = userId;
		this.username = username;
		this.account = account;
		this.password = password;
		this.gender = gender;
		this.telephone = telephone;
		this.roleId = roleId;
		this.roleName = roleName;
		this.rolePermissions = rolePermissions;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the account
	 */
	public String getAccount() {
		return account;
	}

	/**
	 * @param account
	 *            the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}

	/**
	 * @param gender
	 *            the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/**
	 * @return the telephone
	 */
	public String getTelephone() {
		return telephone;
	}

	/**
	 * @param telephone
	 *            the telephone to set
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	/**
	 * @return the roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId
	 *            the roleId to set
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * @return the roleName
	 */
	public String getRoleName() {
		return roleName;
	}

	/**
	 * @param roleName
	 *            the roleName to set
	 */
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	/**
	 * @return the rolePermissions
	 */
	public String getRolePermissions() {
		return rolePermissions;
	}

	/**
	 * @param rolePermissions
	 *            the rolePermissions to set
	 */
	public void setRolePermissions(String rolePermissions) {
		this.rolePermissions = rolePermissions;
	}

}
